package com.zhongxi.guoyuan.entity.rewardcoin;

import com.zhongxi.guoyuan.entity.BaseResult;
import com.zhongxi.guoyuan.entity.coinStore.RewardCoinDetailData;

import java.util.List;

/**
 * Created by Administrator on 2017/1/2.
 */

public class RewardCoinDetailResult {

    private int code;
    private BaseResult safeobj;
    private RewardCoinDetailData goodsInfo;
    private RewardCoinInfo goodsAttr;
    private List<RewardRecommend> recommendInfo;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public BaseResult getSafeobj() {
        return safeobj;
    }

    public void setSafeobj(BaseResult safeobj) {
        this.safeobj = safeobj;
    }

    public RewardCoinDetailData getGoodsInfo() {
        return goodsInfo;
    }

    public RewardCoinInfo getGoodsAttr() {
        return goodsAttr;
    }

    public void setGoodsAttr(RewardCoinInfo goodsAttr) {
        this.goodsAttr = goodsAttr;
    }

    public void setGoodsInfo(RewardCoinDetailData goodsInfo) {
        this.goodsInfo = goodsInfo;
    }

    public List<RewardRecommend> getRecommendInfo() {
        return recommendInfo;
    }

    public void setRecommendInfo(List<RewardRecommend> recommendInfo) {
        this.recommendInfo = recommendInfo;
    }

    public class RewardCoinInfo {
        private String id;
        private String cid;
        private String gid;
        private String inventory;
        private String viewnum;
        private String soldnum;
        private List<Attr> attr;
        private String status;

        public String getInventory() {
            return inventory;
        }

        public void setInventory(String inventory) {
            this.inventory = inventory;
        }

        public String getViewnum() {
            return viewnum;
        }

        public void setViewnum(String viewnum) {
            this.viewnum = viewnum;
        }

        public String getSoldnum() {
            return soldnum;
        }

        public void setSoldnum(String soldnum) {
            this.soldnum = soldnum;
        }

        public List<Attr> getAttr() {
            return attr;
        }

        public void setAttr(List<Attr> attr) {
            this.attr = attr;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCid() {
            return cid;
        }

        public void setCid(String cid) {
            this.cid = cid;
        }

        public String getGid() {
            return gid;
        }

        public void setGid(String gid) {
            this.gid = gid;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }
    }

    public class Attr{
        private String name;
        private List<String> value;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<String> getValue() {
            return value;
        }

        public void setValue(List<String> values) {
            this.value = value;
        }
    }

    public class RewardRecommend{
        private String id;
        private String cateid;
        private String name;
        private String thumbnail;
        private String subject;
        private String price;
        private String marketprice;
        private String getermethod;
        private String postage;
        private String ctime;
        private String status;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCateid() {
            return cateid;
        }

        public void setCateid(String cateid) {
            this.cateid = cateid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getThumbnail() {
            return thumbnail;
        }

        public void setThumbnail(String thumbnail) {
            this.thumbnail = thumbnail;
        }

        public String getSubject() {
            return subject;
        }

        public void setSubject(String subject) {
            this.subject = subject;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getMarketprice() {
            return marketprice;
        }

        public void setMarketprice(String marketprice) {
            this.marketprice = marketprice;
        }

        public String getGetmethod() {
            return getermethod;
        }

        public void setGetmethod(String getermethod) {
            this.getermethod = getermethod;
        }

        public String getCtime() {
            return ctime;
        }

        public void setCtime(String ctime) {
            this.ctime = ctime;
        }

        public String getGetermethod() {
            return getermethod;
        }

        public void setGetermethod(String getermethod) {
            this.getermethod = getermethod;
        }

        public String getPostage() {
            return postage;
        }

        public void setPostage(String postage) {
            this.postage = postage;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }
    }
}
